<%inherit file="/base.mako"/>
<table cellpadding="0" cellspacing="0" border="1">
<thead>
<th>ID</th><th>Name</th><th>Edit</th><th>Delete</th>
</thead>
<tbody>
% for item in c.brands:
<tr>
<td>${item.id}</td>
<td>${h.link_to(item.name, h.url_for(action="view", id=item.id))}</td>
<td>${h.link_to('Edit', h.url_for(action="edit", id=item.id))}</td>
<td>${h.link_to('Delete', h.url_for(action="delete", id=item.id))}</td>
</tr>
% endfor
</tbody>
</table>
${h.link_to(u'Создать', h.url_for(action="add"))}
